package com.ruoyi.wms.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 盘点明细对象 wms_inventory_sheet_details
 * 
 * @author ruoyi
 * @date 2022-03-24
 */
public class WmsInventorySheetDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String inventorySheetDetailUuid;

    /** 仓位id */
    @Excel(name = "仓位id")
    private String fkStockPosUuid;

    /** 关联盘点表 */
    @Excel(name = "关联盘点表")
    private String fkInventorySheetUuid;

    /** 序号 */
    @Excel(name = "序号")
    private Long orderNum;

    /** 物料id */
    @Excel(name = "物料id")
    private String fkItemUuid;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String measuringUnit;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal inventoryQty;

    /** 实际数量 */
    @Excel(name = "实际数量")
    private BigDecimal actualSheetQty;

    /** 差异数量 */
    @Excel(name = "差异数量")
    private BigDecimal differentQty;

    /** 状态（正常、停用，字典表） */
    @Excel(name = "状态", readConverterExp = "正=常、停用，字典表")
    private String sysNormalDisable;

    /** 单据标题 */
    @Excel(name = "单据标题")
    private String docTitle;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String docNum;

    /** 单据时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "单据时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date docDt;

    /** 备注 */
    @Excel(name = "备注")
    private String docNote;

    /** 经办人ID（用户表ID） */
    @Excel(name = "经办人ID", readConverterExp = "用=户表ID")
    private Long fkAttentionUserId;

    /** 提交审核人（用户表ID） */
    @Excel(name = "提交审核人", readConverterExp = "用=户表ID")
    private Long fkConfirmUserIdSubmit;

    /** 提交审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date confirmDtSubmit;

    /** 提交审核状态（字典表） */
    @Excel(name = "提交审核状态", readConverterExp = "字=典表")
    private String oaDictConfirmStatusSubmit;

    /** 提交审核意见 */
    @Excel(name = "提交审核意见")
    private String confirmNoteSubmitSubmit;

    /** 盘点审核人（用户表ID） */
    @Excel(name = "盘点审核人", readConverterExp = "用=户表ID")
    private Long fkConfirmUserId;

    /** 盘点审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "盘点审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date confirmDt;

    /** 盘点审核状态（字典表） */
    @Excel(name = "盘点审核状态", readConverterExp = "字=典表")
    private String oaDictConfirmStatus;

    /** 盘点审核意见 */
    @Excel(name = "盘点审核意见")
    private String confirmNote;
    private String stockPosName;

    public String getStockPosName() {
        return stockPosName;
    }

    public void setStockPosName(String stockPosName) {
        this.stockPosName = stockPosName;
    }

    public void setInventorySheetDetailUuid(String inventorySheetDetailUuid)
    {
        this.inventorySheetDetailUuid = inventorySheetDetailUuid;
    }

    public String getInventorySheetDetailUuid() 
    {
        return inventorySheetDetailUuid;
    }
    public void setFkStockPosUuid(String fkStockPosUuid) 
    {
        this.fkStockPosUuid = fkStockPosUuid;
    }

    public String getFkStockPosUuid() 
    {
        return fkStockPosUuid;
    }
    public void setFkInventorySheetUuid(String fkInventorySheetUuid) 
    {
        this.fkInventorySheetUuid = fkInventorySheetUuid;
    }

    public String getFkInventorySheetUuid() 
    {
        return fkInventorySheetUuid;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setFkItemUuid(String fkItemUuid) 
    {
        this.fkItemUuid = fkItemUuid;
    }

    public String getFkItemUuid() 
    {
        return fkItemUuid;
    }

    public String getMeasuringUnit() {
        return measuringUnit;
    }

    public void setMeasuringUnit(String measuringUnit) {
        this.measuringUnit = measuringUnit;
    }

    public BigDecimal getInventoryQty() {
        return inventoryQty;
    }

    public void setInventoryQty(BigDecimal inventoryQty) {
        this.inventoryQty = inventoryQty;
    }

    public void setActualSheetQty(BigDecimal actualSheetQty)
    {
        this.actualSheetQty = actualSheetQty;
    }

    public BigDecimal getActualSheetQty() 
    {
        return actualSheetQty;
    }
    public void setDifferentQty(BigDecimal differentQty) 
    {
        this.differentQty = differentQty;
    }

    public BigDecimal getDifferentQty() 
    {
        return differentQty;
    }
    public void setSysNormalDisable(String sysNormalDisable) 
    {
        this.sysNormalDisable = sysNormalDisable;
    }

    public String getSysNormalDisable() 
    {
        return sysNormalDisable;
    }
    public void setDocTitle(String docTitle) 
    {
        this.docTitle = docTitle;
    }

    public String getDocTitle() 
    {
        return docTitle;
    }
    public void setDocNum(String docNum) 
    {
        this.docNum = docNum;
    }

    public String getDocNum() 
    {
        return docNum;
    }
    public void setDocDt(Date docDt) 
    {
        this.docDt = docDt;
    }

    public Date getDocDt() 
    {
        return docDt;
    }
    public void setDocNote(String docNote) 
    {
        this.docNote = docNote;
    }

    public String getDocNote() 
    {
        return docNote;
    }
    public void setFkAttentionUserId(Long fkAttentionUserId) 
    {
        this.fkAttentionUserId = fkAttentionUserId;
    }

    public Long getFkAttentionUserId() 
    {
        return fkAttentionUserId;
    }
    public void setFkConfirmUserIdSubmit(Long fkConfirmUserIdSubmit) 
    {
        this.fkConfirmUserIdSubmit = fkConfirmUserIdSubmit;
    }

    public Long getFkConfirmUserIdSubmit() 
    {
        return fkConfirmUserIdSubmit;
    }
    public void setConfirmDtSubmit(Date confirmDtSubmit) 
    {
        this.confirmDtSubmit = confirmDtSubmit;
    }

    public Date getConfirmDtSubmit() 
    {
        return confirmDtSubmit;
    }
    public void setOaDictConfirmStatusSubmit(String oaDictConfirmStatusSubmit) 
    {
        this.oaDictConfirmStatusSubmit = oaDictConfirmStatusSubmit;
    }

    public String getOaDictConfirmStatusSubmit() 
    {
        return oaDictConfirmStatusSubmit;
    }
    public void setConfirmNoteSubmitSubmit(String confirmNoteSubmitSubmit) 
    {
        this.confirmNoteSubmitSubmit = confirmNoteSubmitSubmit;
    }

    public String getConfirmNoteSubmitSubmit() 
    {
        return confirmNoteSubmitSubmit;
    }
    public void setFkConfirmUserId(Long fkConfirmUserId)
    {
        this.fkConfirmUserId = fkConfirmUserId;
    }


    public void setConfirmDt(Date confirmDt)
    {
        this.confirmDt = confirmDt;
    }

    public Date getConfirmDt()
    {
        return confirmDt;
    }
    public void setOaDictConfirmStatus(String oaDictConfirmStatus)
    {
        this.oaDictConfirmStatus = oaDictConfirmStatus;
    }

    public String getOaDictConfirmStatus()
    {
        return oaDictConfirmStatus;
    }
    public void setConfirmNote(String confirmNote)
    {
        this.confirmNote = confirmNote;
    }

    public String getConfirmNote()
    {
        return confirmNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inventorySheetDetailUuid", getInventorySheetDetailUuid())
            .append("fkStockPosUuid", getFkStockPosUuid())
            .append("fkInventorySheetUuid", getFkInventorySheetUuid())
            .append("orderNum", getOrderNum())
            .append("fkItemUuid", getFkItemUuid())
            .append("actualSheetQty", getActualSheetQty())
            .append("differentQty", getDifferentQty())
            .append("sysNormalDisable", getSysNormalDisable())
            .append("docTitle", getDocTitle())
            .append("docNum", getDocNum())
            .append("docDt", getDocDt())
            .append("docNote", getDocNote())
            .append("fkAttentionUserId", getFkAttentionUserId())
            .append("fkConfirmUserIdSubmit", getFkConfirmUserIdSubmit())
            .append("confirmDtSubmit", getConfirmDtSubmit())
            .append("oaDictConfirmStatusSubmit", getOaDictConfirmStatusSubmit())
            .append("confirmNoteSubmitSubmit", getConfirmNoteSubmitSubmit())
            .append("fkConfirmUserId", getFkConfirmUserId())
            .append("confirmDt", getConfirmDt())
            .append("oaDictConfirmStatus", getOaDictConfirmStatus())
            .append("confirmNote", getConfirmNote())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
